<%-- 
    Document   : DeleteAlumno
    Created on : 03-ene-2012, 2:35:49
    Author     : Hades
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="css/style.css">
        <script language="JavaScript" type="text/javascript" src="js/jquery-1.7.1.js">
        </script>
        <script language="JavaScript" type="text/javascript" src="js/jquery.validate.js">
        </script>
        <script language="JavaScript" type="text/javascript" src="js/jquery.maskedinput-1.3.js">
        </script>
        <script>
         $(document).ready(function(){
         $("#formulario").validate(
          {
              rules:{control:{required:true}},
              messages:{control:"Ingrese numero de Control"}
          }
        )
         });
         </script>
         <!-- 
         Script que utiliza mascaras de JQuery para validar
         -->
        <script type="text/javascript"> 
        jQuery(function($){ 
        $("#control").mask("99999999"); 
        }); 
        </script>
       
    </head>
    <body>
        <form id="formulario" name="formulario" method="post" action="DeleteAlumnoServlet">
            <table align="center">
                <tr><td colspan="2" align="center"><h1>Eliminar Alumno</h1></td></tr>
                <tr>
                    <td>Ingrese # de Control</td>
                    <td><input type="text" id="control" name="control" class="required"/></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" value="enviar" /></td>
                </tr>                
                    
            </table>
        </form>
    </body>
</html>

